chore: add test coverage for string methods. add API docs