TST: Tests and fix for unhandled data types in Excel writers.

Added tests and a fix for unhandled numpy data types in the
Excel writers. Issue #3122.