ticket:4 added context_processor, added test