Add a string library and tests for the string library