tests for DateParser