FormatMongoDate behavior updated and test