Fixed test script.