test different kinds of DAG