fixed init() for pathfinding tests