unit testing for the csv reader