some changes to the test script