Added Test for Randomness