Add more unit tests for test/random.jl in preparation for refactor
Merge pull request #5993 from jperla/master

Add more unit tests for test/random.jl in preparation for refactor