Preserve shared properties of merged arcs
Add tests for merge-properties.
Merge branch 'merge-properties'