better testing script