add test case for gateway change in IPAM