csv/test/csv-units: refactored, consolidated, added more tests