UPS has announced that it has successfully tested a drone that launches from the roof of a delivery truck.