non-determinism testing ai systems