Fix check for JRuby in specs
Test on Ruby 2.0.0