Extended DeliveryHandlerTest to also test unacked messages.