Add test for negative weight cycle (Bellman-Ford)

Add tests for Johnson and negative weight cycle detection by Bellman
Ford (detects negative weight cycles by non-convergence, since going
around the cycle multiple times yields smaller and smaller path
lengths).