fixing the test script