Adding unit test for the date parser