Add sentry middleware to test suite.