Added test DoS on message formatter (when text contains huge number of template patterns)