add mocha unit test suite

- configure travisCI to run unit tests
- install mocha and should.js
- write constructor test