Use rand(Uint32) for small ranges.
test/random.jl: more Tests.
Convert not needed.
Adapt test
small fixes