Adding unit test for the date parser

Additional unit testing for the date formatting, feel free to add additional unit tests.