added test for getCurlInfo