add test file for user model