use mocha to test, add mongodb use