Add tests for login page