Fixes #801 - Makes hourly report unit test create CSV.

Also makes the Hourly Report CSV export send data
Merge pull request #802 from caktus/fix/801-hourly-report

Fixes hourly report CSV unit tests and export