Added a test to check file edition for line truncation after 4096 chars (See #3882)