added tests for minimax