killed the last remnants of the global entity_registry
fixed basic unit tests
fixed the other unit tests, yay!
converted the other test, even if it does not work yet