Add test for failure case to accumulator