APF-1382: Fixed test