Update TestSimpleDAG.java

Made changes