Updated test added custom rnd methods for Junite usage