Added support for null in toCSV, and added tests for both toCSV and
parseCSV