Improve specs and docs for String module