[fix] csv file init and unit tests