Throw an exception while Public IP not found and Add some test cases for network_configure and cloud_spec