[PATCH v2 19/40] test: Drop struct dm_test_state