Test parsing multi-byte terminators.

Closes #70.