Add unit tests to lm_sym_to_coeffs()