Add a check that tilde expansion with copy works