updated test script