finishing StrVec.cc and adding test case