add tests, update wercker yml