Fix test case failure due to jruby encoding conversion

see details here: https://github.com/jruby/jruby/issues/829
Add Ruby 2.0 to Travis builds