Implemented basic mocha tests