Fixed the connect remote test.