fixing test script