[BUGFIX] Fixed broken tests

Change-Id: I2077b583ebc92ca5b19311872822fff411418d51
Resolves: #58815
Reviewed-on: https://review.typo3.org/30131
Reviewed-by: Frans Saris
Tested-by: Frans Saris