fixed test script