Add test to check for correct handling of long lines