Rewrite tests in mocha
Added devDeps