Added test for RNG