[PATCH v4 21/42] test: Drop struct dm_test_state