Line wrapping test on fixed-size terminal