testing under jruby and little cleanup