Correction to a unit test. Re #7253