Fixes for the dhcp_lease test