Implemented the string type interface and tests