add copy metadata tests