Test checking for PRNG