@sixty-nine @lapistano I have created a new pull request ( #6 ) where there aren't so many whitespace changes. The trigger to swap the cache has been moved into DrupalTestCase::setUp.

I'll close this pull request as it's now obsolete. We can fix the coding style in the separate pull