added tests to login page