Fix test environment to not configure sentry.