self-testing of artificial intelligence algorithms