Test curl command