simplified the login tests