Merge "Add tests to cover network ip availability API"