Bug 11221: (follow-up) add unit test to test handling empty strings as dates