Test merge when source field is string and merged field is array
remove debug code
fix merging
move document merge tests to own test case
allow check if array is embedded document or sequential list
allow check if array is embedded document or sequential list
test merging data of document