Testing script corrected