Replaced with deterministic test