reading csv files and tests