fix tests in String/main.cpp