MordorQuest: test cases and logging for LineToFileWriter.