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)