Add test to user model