Add test cases for date parser