IP assignment idempotency fix

Added test for assign_ips()