Fix failure in dhcp_test UT