Dynamic mapping template (enhanced test)