Subcontracting of testing services for pharmaceutical samples