Make tests compatible with Pillow.

Pillow returns Unicode strings instead of str objects, so the tests fail since there's an extra u prefix in the repr.