Added EdgeWeightedGraphTest and implemented setup