new method testGetDomainForConnection() to test
Clabject.getDoaminForConnection(Connection)