Re #7416. Fixing unit test.