Add tests

- [x] Make file
- [x] mocha-phantomjs
- [x] tests
- [x] build
- [x] clcean