initial tests: with middleware and context processors
refactored: renamed