[PATCH 14/30] test: Move dm_scan_plat() to test_pre_run()