added mocha related stubs