Improve the metadata validation tests (#7752)
Improve the metadata validation tests (#7752)

* Improve the metadata validation tests

- Fix the empty errors, they must be gone
- Fix the type to be *FieldError, thus removing the need for typed nils and
  much easier test value checking
- Various other improvements

* flow-better
knative/serving,knative/serving