Fix a bug.
A few fixes for the updater unit test.