Merge pull request #396 from ilyavolodin/mocha

Converting more tests to mocha (refs #397)
added mocha tests semi.js and wrap-regex.js
Merge pull request #398 from MichaelPaulukonis/Unittest

added mocha tests semi.js and wrap-regex.js (refs #397)
Converting unittests to mocha