Fix Travis, test addNode and addEdge