add mocha & a simple unit test case