mocha shim process fools other libraries