curl_json plugin: Implement a unit test.