The rows should be processed in reverse order by reduce
First unit tests for views