Improved the --delete-excluded test based on Matt's input and