reenabled tests, fixed up for some minor changes to CurlHandle api