Added tests for binary data that doesn't have UTF-8 codepoints.

Change-Id: I226925c443abee3106a788d53ebc44c0458964d0