return a const char * rather than a std::string from format to be consistent with the const char * passed in
update tests to use EXPECT_STREQ since format now returns a const char *