[tests] Use multiple statements instead of 'echo -e', which is not part of BSD echo.
[lit] [tests] Add missing test input file.
[tests] Use 'printf' instead of 'echo -e', which is not part of BSD echo.