Refactor tests for credit reversal failures