To prevent defective products reaching customers. Testing every can in production means leaks and integrity failures are found and removed before the cans are filled and shipped.