fix unit test issues, rework initialization with a cache/tracker for table/group data