proper signature in proxy function passed to mocha
proper signature in proxy function passed to mocha