Move the json tests out of the parser