user model's unit tests