Added small test that uses global offset. Note we're not actually
testing the contents of the JSON file yet so this test is rubbish.
Note that the testing needs improving in TODO