Replace test usage of deprecated ind_sample() from rand crate
Replace test usage of deprecated ind_sample() from rand crate

Also fix range which was previously exclusive if u16::MAX, but should really
include it, as the maximum value is legal.

Signed-off-by: Jon Bauman <e6c6a4db54ad11b4de69fed67139594b59f3444f@users.noreply.github.com>

habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat