Add test files & correct header for date.format

closes #2349 #2350 #2352