Fixed each_with_indices iteration for yale slices, added spec