Bugs in checking newline echo behavior.