Adapt tests to slice results into smaller files