tests passing for allOf; fix to required