[TASK] UnitTest

Change-Id: I9e06c298f3685359f07ef62ba61deeaabd7855f9
Reviewed-on: https://review.typo3.org/29030
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] More unit tests

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