More testing for the rand module.