implemented testing for pathfinder