The Smart Tester: How Agentic AI Perfects Connected Device Testing