Added tests and docs for CsvReporter.

Closes #336.