Add a randomize search to testcase