add some more tests. adjust next_move method