code: def test_couple_terms_integ():
      """
      Tests  latent variable list length is correct, and that the estimated
      latent variables are not nan
      """
      model = pf.GASLLEV(data=data, integ=1, family=pf.Normal())
      x = model.fit()
      assert len(model.latent_variables.z_list) == 2
      lvs = np.array([i.value for i in model.latent_variables.z_list])
      assert len(lvs[np.isnan(lvs)]) == 0
  
imports: import numpy
  import pyflux
label_desc: Use image node_id 2 for calling a global function with example usage: test_couple_terms_integ() without return types