Inspection of sealing surface and container finish