Added metadata and dhcp_lease tests