Add test demonstrating bug in datetime array encoding.

Francisco,

I found a bug. I'm just submitting a new test at the moment.

-Glen