Fix some issues with blank fields

Also updaed the tests to use the DSVParser classes, rather than the
functions, since they were not actually being used by the DSVParser
classes, which meant the logic was being duplicated