ticket:4 add context_processor and test