added min and max cli tests