Test handling of duplicate column names