A* implementation testing