Refactor AI testing
Refactor AI testing

Split AI describe block, into two blocks, best move testing and random move testing
Add beforeEach and afterEach hooks to make Math.random injection local and also add game state reseting to beforeEach hook, since it’s happen in every ‘it’ block and it helps remove some excess code

Lingvokot/Tic-Tac-Toe-React,Lingvokot/Tic-Tac-Toe-React,Lingvokot/Tic-Tac-Toe-React