stubbing in wsgi server