Parameterize config values to facilitate testing
Add test for generate_curl_command