Test script corrected