Fixed test for #1639