Added user model tests and validations