Fixed test for #823