Add tests for .json_schema and raise errors
Merge pull request #2 from mirego/feature/json-schema-errors-and-tests

Add tests for .json_schema and raise errors