Integrity error tests