unit tests for round, prod, sum, cumsum