[fixup] Bogus tests: Use $modules, not enableModules().
[fixup] [FIXME] PhpStorageFactory does not support stream wrappers.
Fixed bogus usage of debug() in ViewExecutable.
[fixup] Fixed bogus tests.
Issue #2301245 by sun: Fixed Entity system invokes non-existing theme hooks: "Theme hook $entity_type_id not found.".