fix testing script