fixed a test in ReachableNodesDetectorTest