wrote a sample test case with mocha and assert