Fix rest tests
Merge pull request #6 from pmorie/deploy-trigger-wip

Fix rest tests