Implemented login tests