Tests that line terminators \r, \n, or \r\n are properly parsed, even when there is no newline at eof.