pathfinder unittest fixed