code: def test_term_init(diabetes_data):
      design = design_matrices("BMI", diabetes_data)
      term = design.common.terms["BMI"]
      term = CommonTerm(term, prior=None)
      assert term.name == "BMI"
      assert not term.categorical
      assert term.levels is None
      assert term.data.shape == (442,)
  
imports: import logging
  from functools import reduce
  from operator import add
  from os.path import dirname, join
  import arviz
  import numpy
  import pandas
  import pymc
  import pytest
  from formulae import design_matrices
  import bambi
  from bambi.terms import CommonTerm, GroupSpecificTerm
label_desc: Use image node_id 5 for calling a global function with example usage: test_term_init(diabetes_data) without return types