test for TicTacToe class