code: def test_multiple_spark(spark, rg):
      num_samples = 100
      genotype_df = pd.DataFrame(rg.random((num_samples, 10)))
      phenotype_df = pd.DataFrame(rg.random((num_samples, 25)) * 10)
      covariate_df = pd.DataFrame(rg.random((num_samples, 5)))
      baseline = statsmodels_baseline(
          genotype_df, phenotype_df, covariate_df
      )
      results = run_linear_regression_spark(
          spark, genotype_df, phenotype_df, covariate_df
      )
      assert regression_results_equal(baseline, results)
  
imports: import functions
  import numpy
  import statsmodels.api
  import pandas
  import glow.gwas.functions
  import glow.gwas.lin_reg
  import pytest
label_desc: Use image node_id 16 for calling a global function with example usage: test_multiple_spark(spark, rg) without return types