Add tests for string tools.