checking output of RNG