test: ensure we don't have any connection leak
If ConnectionClose() method doesn't return 0, this means we have either an error, either there is still a reference to the connection by another object (we don't have virConnectRef()). In all tests, check that return code and ensure this is 0. Fix tests that weren't releasing all objects correctly.
Showing with 652 additions and 172 deletions