Add tests for JSON, JSONP #47

Basic tests for JSON and JSONP. Checks content type, and result, as well as the option of changing the callback parameter for JSONP.