Add tests for re-reduce/unreduce for Mean and Sum