Fix problem with case sensitivity, finding unique column ops is case
insensitive but deciding which columns to include in input wasn't
Expand regression test to cover renaming column and renaming column to
same name with different case