Fixed tests, AddDoubleEdge and HyperEdge methods