Re #10031. Fixing the unit test.