Add unit test for Network.allocated_ips when there are no allocated ips

Change-Id: I0892fcacbb5a4cb0210198ed381454454eefbeb3