Change encoding to use for Symbol#encoding test
Fix encoding specs on jruby