RUBY-596 Validate result of map/reduce operation