tests for P190._write_csv