Adds some tests, refactoring...
Setup wercker.yml