Prepare spec and tests for PathFinder::findShortestPath method.