Fix environment setup to reflect changes in engine-tests
Added NameComponent.toDIC()
Bugfixes and unit test for GeneratorSystem