use mocha and should.js for tests
fix: formatting
code refactor