fix jruby tests using assert_failure with piped expected output

assert_failure doesn't test output if it is piped, also expected output is just part of output, so using assert_output_contains