Pipe read test: Replace "echo" with "printf"