Fix a unit test error.