def test_aggregation_by_column_with_new_id(self):
        report_config = self._create_report(
            aggregation_columns=['indicator_col_id_first_name'],
            columns=[
                {
                    "type": "field",
                    "display": "report_column_display_first_name",
                    "field": 'indicator_col_id_first_name',
                    'column_id': 'report_column_col_id_first_name',
                    'aggregation': 'simple'
                },
                {
                    "type": "field",
                    "display": "report_column_display_number",
                    "field": 'indicator_col_id_number',
                    'column_id': 'report_column_col_id_number',
                    'aggregation': 'sum'
                }
            ]
        )
        view = self._create_view(report_config)

        self.assertEqual(
            view.export_table,
            [[
                u'foo',
                [
                    [u'report_column_display_first_name', u'report_column_display_number'],
                    [u'Ada', 3],
                    [u'Alan', 6]
                ]
            ]]
        )
Confirm that aggregation works when the aggregated by column appears in
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/tests/test_report_aggregation.py/TestReportAggregation.test_aggregation_by_column_with_new_id