added testing harness for dynamic graph