curl_json plugin: Expand unit tests.