       [ expected, refs ] = expected if Array.isArray(expected)
 
       fail = []
-      fixed = {}
-
-      if refs
-        fixed[s.id.split('#')[0]] = clone(s) for s in refs
 
       # is-my-json-valid
       validate = isMyJSONValid(expected, schemas: refs)


      # jayschema
      jay = new JaySchema
      jay.register(clone(json)) for id, json of fixed

      result = jay.validate actual, clone(expected)


      api.banUnknown = false
      api.cyclicCheck = false

      api.addSchema(id, clone(json)) for id, json of refs

      result = api.validateResult actual,
        clone(expected), api.cyclicCheck, api.banUnknown
