Catch (and count) commit exceptions to allow tests to progress