Uses mock object for all action tests and makes tests compatible for both, TYPO3 4.x and 6.x