testing: extract `fail` method to make a test case fail without running it