Added unit test. Fails for Japanese for some reason.