       api.banUnknown = false
       api.cyclicCheck = false
 
-      api.addSchema(id, json) for id, json of fixed
+      api.addSchema(id, clone(json)) for id, json of refs
 
       result = api.validateResult actual,
         clone(expected), api.cyclicCheck, api.banUnknown


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

      result = jay.validate actual, clone(expected)


      validator = new ZSchema
        ignoreUnresolvableReferences: false

      validator.setRemoteReference(k, clone(v)) for k, v of refs
      valid = validator.validate actual, clone(expected)

      if errors = validator.getLastErrors() or not valid
