TST: Added test for Excel writers with duplicated column names.

Test for issue #5235