Fix a unit test warning