add tests for template context processor