added tests for exporting reports.