Add test files & correct header for date.format

closes #2352 #2350