added more tests for login