Added test functions to the AIs