defined test for min, max and sum
added min, max, avg and sum functions
added samples for min,max,avg and sum