Added missing substr() method needed by gtest. Collapsed 3 copy constructors into one with default values for the pos and n values. string(const string&, size_t pos=0, size_t n=npos) Extra test for substr and the copy constructor.