Fixed test codes.