Test serializing a raw bytes.

Closes #78.