CSV library now works as intended, passes all tests.