test the connect