[TASK] Do funcational tests in a correct way

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