Extract RNG tests into a new test module