Bugfixes

Small fixes about unicode processing added. Bad requirement fixed. Tests updated.