Fixed test exit