code: def test_glm_binomial():
      """
      Create and instantiate TestGLMBinomial class and perform tests specified for GLM
      Binomial family.
  
      :return: None
      """
      test_glm_binomial = TestGLMBinomial()
      test_glm_binomial.test1_glm_no_regularization()
      test_glm_binomial.test2_glm_lambda_search()
      test_glm_binomial.test3_glm_grid_search()
      test_glm_binomial.test4_glm_remove_collinear_columns()
      test_glm_binomial.test5_missing_values()
      test_glm_binomial.test6_enum_missing_values()
      test_glm_binomial.test7_missing_enum_values_lambda_search()
      test_glm_binomial.teardown()
  
      sys.stdout.flush()
  
      if (
          test_glm_binomial.test_failed
      ):  # exit with error if any tests have failed
          sys.exit(1)
  
imports: import sys
  import random
  import os
  import math
  import numpy
  import h2o
  import time
  from builtins import range
  from tests import pyunit_utils
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
  from h2o.grid.grid_search import H2OGridSearch
  from scipy import stats
  from sklearn.linear_model import LogisticRegression
  from sklearn import metrics
label_desc: Use image node_id 1 for calling a global function with example usage: test_glm_binomial() without return types