Add spec tests for the dhcp class