test harness for AI