updated tests to expect newline character