Fix integration tests for jruby