update test Rspec and FormatDate