Fix run test scripts