Test rng.nextBoolean, a little tidy up
rng now class instead of case class as we don't use equality, etc