added mocha and assert and sample test.