Testing fold versus mapPartitions