fix(sentry): fix tests when using sentry