diff --git a/tests/test_mesh.py b/tests/test_mesh.py
index 6b1277cdbb62b60502bd7dad6c94b39bb35972de..335ad7416004b8a070f0a08534ed1669b9884729 100644
--- a/tests/test_mesh.py
+++ b/tests/test_mesh.py
@@ -89,19 +89,19 @@ def test_mesh_addVertices():
     mesh = fslmesh.Mesh(tris, vertices=verts)
 
     assert mesh.selectedVertices() == 'default'
-    assert mesh.vertexKeys() == ['default']
+    assert mesh.vertexSets() == ['default']
     assert np.all(np.isclose(mesh.vertices, verts))
 
     mesh.addVertices(verts2, 'twotimes')
 
     assert mesh.selectedVertices() == 'twotimes'
-    assert mesh.vertexKeys() == ['default', 'twotimes']
+    assert mesh.vertexSets() == ['default', 'twotimes']
     assert np.all(np.isclose(mesh.vertices, verts2))
 
     mesh.addVertices(verts3, 'threetimes', select=False)
 
     assert mesh.selectedVertices() == 'twotimes'
-    assert mesh.vertexKeys() == ['default', 'twotimes', 'threetimes']
+    assert mesh.vertexSets() == ['default', 'twotimes', 'threetimes']
     assert np.all(np.isclose(mesh.vertices, verts2))
 
     mesh.vertices = 'threetimes'