Fix a bug in updater unit test.