fixing the testing script