started refactoring of tests
test for wsgi