Test move generation