Fix an error in the unit test.