add mocha test case