Add test for Deployer._copyUpdated