test getVerticeInGraphFromName passed