[TASK] Add Some UnitTests
[BUGFIX] Fix http://forge.typo3.org/issues/47720#change-162226
[BUGFIX] Avoid Exception on non loaded theme extensions