Fixed A* and evaluation function. More efficient tests