Add unit tests to lm_coeffs_to_sym()