Add test script, fix JSON test breakage due to spaces

Express now sends back formatted JSON by default, this broke
a string match test