fixed error in test script