add test for User model