Added tests for addVertex, removeVertex, addEdge and union

What if we add the `distinct` call for vertices in `union`?