The United Nations is to test drones equipped with mapping sensors and atomizers to spray pesticides in parts of east Africa battling an invasion of desert locusts that are ravaging crops and exacerbating a hunger crisis.