tests work but not for validations