add test without curl
string replacement turns out not POSIX compliant
Merge pull request #477 from koenpunt/without-curl

add test without curl