update to CSVWriter (and its test class)