corrected test script