Maybe we should add
~~~
self.assertEqual(request.getWrittenData(), "test")
self.assertEqual(request.writeCount, 1)
~~~
as well, before we resume producing?