Fixed test that returned the wrong result.