dm: core: Add tests for stringlist functions