The Chinese arm of French retailer Carrefour is trying to build confidence about the safety of its products by opening its food testing laboratory in Shanghai to the public next month.