Added a unit test for basic AI