add support for upgrade and uninstall test