Unit test Deterministic Generate.