Schema Discovery: Handling dates and adding unit test.