- add function which constructs a new std::string from a potentially not null terminated char * - add unit tests