Updating the random test to include all usages of the random lib