add simple test for getWithCurl