Fix the unicode tests. We don't actually care if the bogus Unicode
character comes through, we just need to ensure that no exception is
thrown.
Lint improvements.