[TASK] Fix test base class v2

Change-Id: Id6445de1406264b7a705568bf7f8749ef12c4046
Reviewed-on: https://review.typo3.org/28454
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer