updated a test case of rand.