Added test for the new dateformat