apply unit test for all method api in TicTacToe game