Stationarity Test for Aggregate Outputs in the Presence of Structural Breaks