Str: ref tests, fix and translate jsdoc