[JENKINS-26029] Added a test for FAILURE_OR_BETTER.

An additional test for #76 .
It works like when a user clicks "x" to abort a test.