Add end to end tests for delimited text file reader/writer

Finally got around to doing this, helped in a way to cleanup some more code.
Consider including the undefined type (`mType`) in the exception?