Rearranged test.
Added skeleton for testing de/allocate ips