Add new testcase for max(), min() and sum().