Make specs pass on JRuby