mock check_dhcp call inside verify_networks