wip: unit tests
Merge pull request #81 from pmorie/deploy-trigger-wip

wip: unit tests