Fixed test script