copy_file tests