upgrades and tests