unit test passing for user validations