random number generator testing