Completed unit tests for pathfinder.