Re #10843. Fix a unit test.