Added graph copy function tests