Add more scored checks and fix a problem with the PRNG generation.