Adding RandomGenerator which will helps for Unit Testing