fixed typo in csv reader and checked tests