Fixing mocha specs for strings