add passing tests for user model