Improve naming of test
Ensure item validations are flattened and expanded

Validations for array items are encoded differently in the JSON, this adds support for them while maintaining the same API on the outside.