Adding some unit tests for the login page