added bending edges test to graph.ts