Add a test for SessionMiddleware in a thread
Add a test for SessionMiddleware in a thread

This exercises the code that raises when it should not

See https://github.com/bugsnag/bugsnag-python/pull/254

bugsnag/bugsnag-python,bugsnag/bugsnag-python