Microsoft interview question

How to test a random number generator.