The tests build a legacy SQLite fixture from the old migrations and cover the field mapping, skipped invalid rows, the replace-on-rerun behaviour, the dry run and the guarantee that the legacy file and its directory stay untouched.