User validations unit tests