[PATCH v5 14/41] test: Move dm_extended_scan() to test_pre_run()