Fix empy unicode bug

This pull request is intended to fix #196.

Currently there is only one change which adds a test which properly exposes the problem in Python2.