add mocha requrei support