Fixes hourly report CSV unit tests and export

Fills the CSV export with data and fixes failing tests.

The tests were set up to send the 'export' get parameter, but export_users or export_projects is needed to make a CSV export return