fix regression from non determinism in test