ticket:4 added tests
ticket:4 added context processor