Abstract out handling of failing of incomplete tests