Graph.addVertex now passes unit tests