Fixed test scripts.