test for deleting subnet with ports