Add some tests for AI