Unittests, threadedsystem cleanup.
getAddedEntities