Rewrite

* Added tests
* Install Mocha and Chai through Bower