added method get random products and its unit test