changed ai testWin