Added test cases for login and registration methods of AccountService.