shortest path tests