fix the test script error