add test for check dhcp call in network module