Change requires in the Graph tests
Refactor to make the vertices list of a graph be a set instead of an array