Add some tests and expose jruby as a dependency