fixed one bug in the A* nbest
timing tests