Fix PlayerAI + test.