Fixed test implementation.