added test for robot pathfinding, for #1732