Setup AI retention and tests.