Fixed bug in parsing unicode strings

* Added tests
Merge pull request #10 from davidfischer/test-unicode

Fixed bug in parsing unicode strings