Speedier generation of test data using faster pseudorandom function

In addition to the Random subclass, my IDE seems to have added the final keywords wherever applicable. I can certainly take that out if you like as it doesn't relate to my contribution.