Added some tests (mocha + chai)