refactored unicode_spec.rb