Some shells (e.g. bash) do not expand '\n' to a newline

Use two separate `echo` statements. While `printf` would also work, it
seems better to stick with `echo` here.

Ref: https://github.com/ggreer/the_silver_searcher/pull/542#issuecomment-65269731
Merge pull request #550 from blueyed/tests-no-newline-with-echo

Some shells (e.g. bash) do not expand '\n' to a newline