testing randomness