fix DivideByZeroException in Random.Next()
added test for Random.Next(0)