Upgrade script testing