Fix failing test for RNG.