clone(graph) and eqals(graph) tested