added mocha and a test