Add spec for shortest path finder