Pass --upgradedb to the upgrade test