Added test for minimax.