code: def test_with_nan(self, dtype):
      if dtype == "int64":
          pytest.skip("nans not supported in int64")
      primitive_instance = MaxConsecutiveZeros()
      primitive_func = primitive_instance.get_function()
      array = pd.Series([0, np.nan, 0, -3], dtype=dtype)
      assert primitive_func(array) == 2
  
imports: import numpy
  import pandas
  import pytest
  from featuretools.primitives import MaxConsecutiveFalse, MaxConsecutiveNegatives, MaxConsecutivePositives, MaxConsecutiveTrue, MaxConsecutiveZeros
label_desc: Use image node_id 4 for calling the TestMaxConsecutiveZeros obj's underlying member method code with example usage: obj.test_with_nan(dtype) without return types