Algorithms: better A* unit tests