Add test for string representation on edges and vertices.