Added failure test for creating ip address with invalid network_id and device_id