add: add travis CI config
update: update test case and add chai assert.
update: remove console code and update package.json