test_lm_construction