Update EdgeWeightedGraph.spec.coffee

Added tests for the edge class