tests rewritten PathFinding algorithms