A certificate that reports one test result on one vial extrapolates to claim that all two hundred vials in the lot are identical, which is an assumption worth questioning.
Under AQL sampling plans, testing two vials from a fifty-vial lot gives you an operating characteristic curve that tells you what risks you are accepting.
More usefully, the statistical foundation here is well-established, which is why sampling plans from decades ago are still valid.
Sampling plans for pharmaceutical manufacturing are defined in ISO 2859 and ANSI Z1.4, and they are based on statistical sampling theory.
The caveat is that sampling is a trade-off between cost and confidence, and neither test nor assumption is cost-free.
Assume segregation is possible, and design your sampling to catch it if it exists.