Added function to delete arcs and its tests