Fixed test so that it works under 2.4