Improvements to JRuby compatibility testing