deterministic test