test for choosing a move