move copy-pasta into it’s own function.
tests for context processors.