fix an error reported by static analysis
Created by: pnorbert
Asking for a review because I needed to completely erase the whole build directory and rebuild from scratch, otherwise the recompiled ManyVars test aborted. But built from scratch, the test (and all tests) ran fine.
Something in Google Test gets confused otherwise. But this PR only replaces a char * with an std::string string in the test code.