added test case for context request factory
PEP8 compliance :)