Add sentry upgrade to test path for CLI