fixing test scripts