Added test case for the merge behavior of EditableRepository::add()