[BUGFIX] Make unit-tests work again

Change-Id: I6646ffe2fae7c2342e5981b3b8bf828fe93b2028
Reviewed-on: https://review.typo3.org/25650
Reviewed-by: Hans Höchtl
Tested-by: Hans Höchtl