persistance testing on acyclic graphs