Add mocha-test to provide some common function to testing.