Initial unit test of ipam.