Move to Unicode and add a simple test

Close #17 but some more tests may be needed.