New functions and changes in previous ones in string library and new tests