more pedantic testing of connection