[PATCH v4 03/12] test: dm: add tests for tag support