[PATCH v3 13/41] test: Move dm_extended_scan() to test_pre_run()