Adding mocha test and failing tests cases