fix the test for curl 7.29.0+