Refactor UpdateManagerUITests to use testing flag and Init method.