Bugs found while testing graph equality.
graph equality tests