Added tests for addVertex, removeVertex, addEdge and union

I think you'll need to check for duplicate vertex here, too!