added test for curl.