Add additional tests for `cms.middleware`.
Add additional tests for `cms.middleware`.

jamesfoley/cms,dan-gamble/cms,danielsamuels/cms,dan-gamble/cms,lewiscollard/cms,lewiscollard/cms,dan-gamble/cms,danielsamuels/cms,jamesfoley/cms,lewiscollard/cms,danielsamuels/cms,jamesfoley/cms,jamesfoley/cms