* fix(report): Fix file exports for reports that show totals * fix(report): Add tests for Query Report export