fix Script tests