Add test for mergedata working with list iteration
Merge pull request #1526 from nickanderson/test/mergedata_with_iteration

Add test for mergedata working with list iteration