Remove use of Vertex class variable 'names' from tests. Part of refactor for #1