updated testing script