Added more tests with regards to reduction operation