Add tests

- [ ] Create make file
- [ ] Run tests through mocha phantomjs
- [ ] Integrate into worker
- [ ] Add wercker badge to retsly/retsly readme