Add tests for JSON parsing script

Simple tests which capture the format of the JSON we're expecting and
demonstrate a success and failure case.