Added test for reduction operation
Added test for reduction operation