Improve test cases for DateHelper.