remove the test case for the random method