Can the json be read in from a test file rather than part of the test? This will improve readability.