test bytes in output for py3