ticket:4 add test
ticket4: add context processor