Added tests for the json pointer functionality and fixed found errors.