Automated package upgrade testing