Fixed one more bug in 'DebugStream' test

  'bytes' on the input, 'str' on the ouput