Restore Scout/Arduino test code with better RNG.