add test case for NULL dates

Trying to reproduce Issue #24, without success yet.