modified string_unitest.cpp