Modifies cache class and test to be compatible with TYPO3 4.5