add mocha/chai testing