CsvWriter tests