added tests for the updater.