simplify the test & make it more deterministic