Test for report generation optimization.