add more random helper function in RandomTestHelper