fix detection in test if jruby catches LocalJumpError in thread
fix detection in test if jruby catches LocalJumpError in thread

Related jruby/jruby#7009, jruby/jruby#7029, jruby/jruby#7030
toy/in_threads