Added generator tests for date.