Use bytestring literals in tests, rather than manually constructing
them.

These tests predate having a bytestring literal syntax.