Write unit tests for 'process_request' middleware hook and update required Django version to 1.5 until older versions are tested.