testing fit_from_cfg for lcm