specs passing for jRuby 1.7.4