Test the functionality of the python random module.