removed redundant arg from assert_vertices and assert_edges