Make testing random things a bit more deterministic