Add test for import_families management command.