Checking no debugger on JRuby

fixes tests for JRuby