separate test for mapVertices