Fix tests for jruby.
Merge pull request #100 from patriciomacadden/yajl-tests-fix

Fix tests for jruby