added tests for the DateFormatDecorator