Fixed test script runner