Chatbot Testing: AI-Driven Strategies for Optimal Performance