added test for invalid schemas with cyclic references
added test for local file reference
simple schema validator by parsing the schema to a valid schema tree