add validation tests for user model