Correct minor bug in creates_glm_model which the test inherited from its predecessor, creates_lm_model.