Covered generation of validationErrors with tests