Change unit test for loggedConnect command.