Test parallel_by flattening