add tests for updater