test oneOf definition of nested objects