ticket:3. add tests
ticket:3. done
Merge branch 't3_middleware'