add regression test for ModelEntry.from_entry