Adding TestRandom test case