[PATCH 20/30] test: Move dm_test_init() into test-main.c