Added test function for rng mode