added test with mocha and chai