Fixed error in DirectedAcyclicGraph test.

Yesterday it was fine on my other machine, though...