add more tests for User model