added first mocha tests