Added login tests