fix bug in curl minitest