The unicode case probably needs to be dealt with also. To test unicode strings in a python independent manner use sixu instead of the unicode prefix:
```
from py3compat import sixu
...
s = sixu('unicode string')
```