Re #10545. Fixed a unit test.