Added Date struct with unit tests.