Added unit test for Bellman-Ford