test input processing for date strings