Fix erroneous edge weight in test
Beef up tests