ticket:4 tests for context processor
ticket:4 added context processor
ticket:4 added context processor attempt 2
ticket:4 pep8