Return number of bytes written when fwrite path is taken
A much simpler request test, in unittest format
init.py for test package
wsgi application runner
Test application to be on the server side
Use the test application in request test
Put stringio import into util

This way all tests can simply import stringio from util in one line.
Debug test, ported from the old debug test
Write output to a stringio to avoid stdout spam
Use stringio from util in request test
Comment out the added default write callback.

I see no reason why it is needed.
Add a test that writes response to a file