Improve test
Delete unused class
Fix an issue with LoadDocument of missing references. When the index batch size was small enough, the DoNotTouchAgainIfMissingReferences list was cleared before the we had a chance to ignore them. Holding those IDs in memory won't take a lot of memory, so we should not clear it.