shortest path between candidate path test pass!