Change the heuristic to return JSONP response, and add a test.