Test the method checkGuessAI()