Minimax tests