test: Use a pipe to back the write buffer for the Logger test.