Added a test for random number generators.