added test for user model variables and validations