These tests are truly horrible. You change one thing and then spend
three days just updating stubs in tests. The only possible solution is
to move more and more into stub classes.
Instead of the root entity always being the default one (for new
entities being created etc.) we now can specify another entity which is
the default one.