test for curl