Added test for reduce()