Fix mocha deprecations.
Merge pull request #48 from nixpulvis/deprecations-fix

Fix mocha deprecations.