tests: Update importer script

Wipe the state before loading it.