Random number generator tests