added test for chekForWin method