acceptance tests for duplicate metadata and duplicate document names.
merge.
fix