Refactoring: change IsolatedReference to GeneralIsolatedReference.
Decrease references between domains. Mark several constructors as "internal"
Decrease references: store all references to test types