Change assertion string in TestResult to std::string to avoid memory problems with dynamically generated strings.