Added range_test for the prng