def test_plot_aggregates(base_tpi, base_params, reform_tpi,
                         reform_parms, plot_type, vertical_line_years,
                         plot_title):
    fig = output_plots.plot_aggregates(
        base_tpi, base_params, reform_tpi=reform_tpi,
        reform_params=reform_params, var_list=['Y', 'r'],
        plot_type=plot_type, num_years_to_plot=20,
        vertical_line_years=vertical_line_years, plot_title=plot_title)
    assert fig