Update metadata merging tests