Tests for LoginModel and UserModel