Added test case for unicode string generating.