finally got test for copy_backup_file to work correctly.