Unit tests for context processors