completed the test testLogin()