Using mocha/chai/sinon for unit tests.
Merge branch 'unittest-refactoring'
Merge remote-tracking branch 'origin/master'
Update version to 0.11.2