finished test for connected.