add a test for the addDelivery