Refill buffer to read long lines.
Add test example output.