ticket:3 added tests
ticket:3 before migration
ticket:3 added 404.html, requests.html, middlware.py; Done
Merge branch 't3_middleware'