updated test script for curl module