Support for DAG snapshots
Fixed Tests