On the trunk of zope.app.wsgi I added functionality for injecting WSGI middleware to tests using zope.app.wsgi.testlayer.BrowserLayer. I'd like to release these changes as version 3.10, unless someone disagrees. Thanks, -- Jan-Jaap Driessen