added sample test

installed mocha and added a sample failure test