Add integrity error test.