[aggTable] test that aggTable.exportToCsv() works properly