Statistical Test For Randomness