tests: fix determinism test