Fix UpdateManager tests