ticket4: Template context processor is implemented. Fixed tests for the possibility of the processor being unplugged while running tests.