Fixed test using 2.4/2.5-incompatible code.