converted tests to use mocha/chai and updated the readme