Add anyOf test for the new ValidationError properties