UK retailer Tesco is to trial an onion developed to prevent the common phenomenon of making consumers cry.