Fix test_bytes to actually test all the protocols

This issue is also present in the upstream test suite:
http://bugs.python.org/issue17346