amend wercker
add tests to pre-commit hook