Testing for treatment effect in covariate-adaptive randomized trials with generalized linear models and omitted covariates