Modified ContextTest to input the randomGrouping inside of the addInput() method