[PATCH v2 12/40] test: Move dm_extended_scan() to test_pre_run()