made a more comprehensive curl_test.js