JRuby treats backtraces differently

It looks like blocks don't count.
Fixed a non-deterministic spec