Test and setup diagnostic for duplicate card names