Changed random number to uint
Added some tests for Random class