reducedim with functors tested