Added unit test for unicode error.