Added a new test for graph copying