Added Shortestpath test.