Wrote test for improper JSON from script