merge it with id = 'test'
does not merge correctly to
It is at least fixed in 1.6-dev. I added a test case to catch any regression here.
This works for me with my local copy (latest version from the trunk and no relevant modifications). So, perhaps this has already been fixed.