[tor-commits] [collector/master] Added tests for ReferenceChecker; prepares task-20695.