Add tests and validations for profile attributes in user