Add test script, fix JSON test breakage due to spaces

Express sends back formatted JSON by default, this breaks a string match test.

View breaks in travis - https://travis-ci.org/mdp/superagent/builds/9441920