add mocha/chai module and build test case