[PATCH v3 20/41] test: Drop struct dm_test_state