Fix integration tests

Allow integration test to run only in jruby