updated context_processors.
added tests for context_processors.
refactor.
added tests for application.dispatches.