integration test for line breaking substitution