Transform_iterator support added for cl- reduce_by_key along with test cases