added test method for unicode generator