Added test pathfinding check