Wrote tests and some simple validations for user model