[DBAL-407] Added onNotSuccessfulTest for all cases where error detection is not specific enough