Define user validations for name and email, with tests