lots of additions to test to be able to test actual uwsgi requests so I can fix all the things that seem to keep going wrong