If possible, anything random we do should have an option to pass a random number seed in, so we can make deterministic tests.