fixed CSVDestination and the corresponding test