test-AI implemented