This looks wrong?  It had tested unicode, and now tests binary_type, then uses `.encode()` on it.  Are there tests covering this code?