test/string.js added tests