In Australia at least, you need to maintain records showing testing of each batch and equipment calibration. Government auditors can come at anytime to review the records, and will shut things down if records are missing/altered/or lacking. Pharmaceutical manufacturers aren't constantly shutting down, so we can assume contamination is fairly low.