fix metadata tests to be aware of autogenerated field option
18 files changed