add test for user model